package cn.group.xudy.controller;
import cn.group.xudy.model.ClaimsModel;
import cn.group.xudy.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.Map;

/**
 * Created by Ulegal on 2017/9/28.
 */

@RestController
public class TestController{

    @Autowired
    TestService testService;

    @RequestMapping(value = "/test",method = RequestMethod.GET)
    public  List<ClaimsModel> Testss(String tt){

        List<Map<String, Object>> list = testService.getListInfo();

        List<ClaimsModel> maps = testService.getSelectById();

        System.out.println("======:::yy"+maps);

        return maps;
    }





}
